home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr28 / ipxtcpip.zip / NCSA.BAT < prev   
DOS Batch File  |  1993-03-06  |  1KB  |  44 lines

  1. @echo    off
  2. if    #%configtel%==#    goto bgn
  3. if not    exist    %configtel%    goto bgn
  4. s:\utility\internet\ipxtcpcfg s:\public\users.wrs NET NUL
  5. if not    errorlevel 2    goto arg
  6. goto    end
  7. :bgn
  8. s:\utility\internet\ipxtcpcfg s:\public\users.wrs NET s:\utility\internet\NCSA\IPX$NCSA.CFG
  9. if    errorlevel 2    goto end
  10. call    IPX$NCSA.BAT
  11. erase    IPX$NCSA.BAT
  12. purge    IPX$NCSA.BAT>NUL
  13. :arg
  14. if    exist    s:\utility\internet\NCSA\%1.EXE    goto run
  15. if    #%1==#    goto dir
  16. if    %1==t    goto tel
  17. if    %1==T    goto tel
  18. if    %1==f    goto ftp
  19. if    %1==F    goto ftp
  20. if    %1==p    goto pwd
  21. if    %1==P    goto pwd
  22. goto    dir
  23. :run
  24. s:\utility\internet\NCSA\%1 %2 %3 %4 %5 %6 %7 %8 %9
  25. goto    end
  26. :tel
  27. s:\utility\internet\NCSA\telnet %2 %3 %4 %5 %6 %7 %8 %9
  28. goto    end
  29. :ftp
  30. s:\utility\internet\NCSA\ftp %2 %3 %4 %5 %6 %7 %8 %9
  31. goto    end
  32. :pwd
  33. s:\utility\internet\NCSA\telpass passwd.ftp
  34. goto    end
  35. :dir
  36. echo    The following programs can be used
  37. echo    (specify name as batch parameter):
  38. echo    TELNET, FTP - terminal, file transfer
  39. echo    TELPASS - password file maintenance
  40. echo    DOS2UNIX, UNIX2DOS - file conversion
  41. echo    T or F can be used instead TELNET or FTP
  42. echo    P is equivalent to TELPASS PASSWD.FTP
  43. :end
  44.